package com.zzzzzz.app.topic.model.vo;

import com.zzzzzz.app.topic.model.po.Topic;

public class TopicVo {
	
	private Long topicId;
	private String title;
	private String content;

	public Long getTopicId() {
		return topicId;
	}
	public void setTopicId(Long topicId) {
		this.topicId = topicId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}

	public void updatePo(Topic topic) {
		topic.setTitle(this.getTitle());
		topic.setContent(this.getContent());
	}
	
}
